﻿#region License
/* **********************************************************************************
 * Copyright (c) Haugen Applications LLC
 * This source code is subject to terms and conditions of the MIT License
 * for UserScript. A copy of the license can be found on the License tab for this CodePlex release
 * By using this source code in any fashion, you are agreeing to be bound by the terms of the 
 * MIT License.
 * You must not remove this notice from this software.
 * **********************************************************************************/
#endregion

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace UserScript.ExpressionParsing
{
    public class FunctionNotFoundException : Exception
    {
        internal string FunctionName { get; set; }
        internal object[] Arguments { get; set; }


        public override string ToString()
        {
            return string.Format("No function {0} could not be found accepting those parameters.", FunctionName);
        }
    }
}
